Skip to main content

closeBox

Type

property

Summary

Shows a window's close box.

Syntax

set the closeBox of <stack> to {true | false}

Description

Use the closeBox property to display the close box in a window's title bar.

The setting of this property affects the decorations property, and vice versa. Setting a stack's closeBox property determines whether its decorations property includes "close" (or is "default", for window styles that normally include a close box). Conversely, setting a stack's decorations property sets its closeBox to true or false depending on whether the decorations includes "close" (or is "default" ).

note

On OS X systems, if the closeBox property is false, the close box is disabled rather than hidden.

Setting the closeBox property causes the stack window to flash briefly.

Examples

set the closeBox of this stack to false

glossary: property, stack window, close box

keyword: default

message: closeStack

object: stack

property: decorations, minimizeBox

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?